<template>
	<view class="rank-pop-box" v-show="isShowRank" @tap="$parent.hideRank">
		<view class="rank-pop-container">
			<view class="rank-num-box">
				<view class="rank-num-left">全省排名第</view>
				<view class="rank-num-middle">17896</view>
				<view class="rank-num-right">名</view>
			</view>
			<view class="school-percent-box">
				<view class="school-percent-label">全国可以上的大学所占百分比</view>
				<view class="school-percent-num">90%</view>
			</view>
			<view class="rank-line"></view>
			<view class="rank-school-name-box">
				<view class="rank-school-name-label">当前可以上的大学</view>
				<view class="rank-school-name">河南工业大学</view>
			</view>
			<view class="rank-line"></view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		
		props: ['isShowRank'],
		
		methods: {
			
		}
	}
</script>

<style>
	.rank-pop-box {
		position: fixed;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.5);
		z-index: 100;
		display: flex;
		justify-content: center;
		align-items: flex-end;
	}
	
	.rank-pop-container {
		height: 492rpx;
		width: 702rpx;
		background-color: #ffffff;
		border-radius: 30rpx;
		z-index: 101;
		display: flex;
		flex-direction: column;
		align-items: center;
		margin-bottom: 70rpx;
	}
	
	.rank-num-box {
		display: flex;
		align-items: flex-end;
		font-size: 36rpx;
		margin-top: 60rpx;
	}
	
	.rank-num-middle {
		font-size: 48rpx;
		color: #f34141;
		font-weight: bold;
	}
	
	.school-percent-box {
		width: 654rpx;
		margin-top: 60rpx;
		display: flex;
		justify-content: space-between;
		font-size: 24rpx;
	}
	
	.school-percent-num {
		color: #f34141;
	}
	
	.rank-school-name-box {
		width: 654rpx;
		margin-top: 40rpx;
		display: flex;
		justify-content: space-between;
		font-size: 24rpx;
	}
	
	.rank-school-name {
		color: #f34141;
	}
	
	.rank-line {
		width: 654rpx;
		background-color: #f5f5f5;
		height: 2rpx;
		margin-top: 30rpx;
	}
</style>
